package com.qzd.bridge;

/**
 * 桥接模式
 * 通过AbstractCourse把视频，笔记进行组装，完成课程对视频，笔记的桥接
 */
public abstract class AbstractCourse implements Course{
    private INote note;
    private IVideo video;

    public INote getNote() {
        return note;
    }

    public void setNote(INote note) {
        this.note = note;
    }

    public IVideo getVideo() {
        return video;
    }

    public void setVideo(IVideo video) {
        this.video = video;
    }
}
